﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InstrumentUpgradeMaintainExtra.aspx.cs"
    Inherits="Runda.CMS.Portal.ContractFollowUp.InstrumentUpgradeMaintainExtra" %>

<%@ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadGrid.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<%@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>

    <script src="../Content/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../Content/global.js" type="text/javascript"></script>

    <script src="../Content/Grid/map_grid.js" type="text/javascript"></script>

    <link rel="stylesheet" type="text/css" href="../Content/Grid/mapgrid.css" />
    <link href="../Content/Menu/Menu.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Grid/Grid.css" rel="stylesheet" type="text/css" />
    <link href="../Content/global.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Find/find.css" rel="stylesheet" type="text/css" />
    <link href="../Content/Tab/tabs.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="../Content/global.css" />

    <script language="javascript" src="../Content/settings.aspx"></script>

    <script src="../Content/lookup/Lookup.js" type="text/javascript"></script>

    <link href="../Content/Form/form.css" rel="Stylesheet" type="text/css" />

    <script language="javascript" src="../Content/Detail.js"></script>

    <script language="javascript" src="../Content/lookup/Lookup.js"></script>

    <script language="javascript" src="../Content/Menu/menu.js"></script>

    <script language="javascript" src="../Content/util.js"></script>

    <script type="text/javascript" src="../Content/DateTime/date.js"></script>

    <script type="text/javascript" src="../Content/DateTime/time.js"></script>

    <script src="../Content/global.js" type="text/javascript"></script>
     
</head>
<body>
    <form id="form1" runat="server">
    <table class="mnubar" cellspacing="0" cellpadding="0">
        <tbody>
            <tr>
                <td width="9">
                    <img hspace="3" src="../Content/Menu/mnu_vSpacer.gif" />
                </td>
                <td class="icMenu" nowrap>
                    <asp:LinkButton ID="lnkbtnSaveAndClose" runat="server" OnClick="lnkbtnSaveAndClose_Click"><span class="menu" title="保存&amp;关闭" onclick="window.execScript(this.action);"><img class="mnuBtn" src="../Content/Menu/SaveClose_16_blue.gif"><span class="mnuBtn">保存&amp;关闭</span></span></asp:LinkButton>
                    <img src="../Content/Menu/separator.gif">
                    <span class="menu" title="关闭" onclick="window.close();">
                        <img class="mnuBtn" src="../Content/Menu/Close_16_blue.gif"><span class="mnuBtn">关闭</span></span>
                </td>
            </tr>
        </tbody>
    </table>
    <div style="border-bottom: #c2c2bf 1px solid; border-top: #969693 1px solid">
    </div>
    <div id="areaForm" class="area">
        <table cellspacing="0" cellpadding="0" width="100%">
            <tbody>
                <tr>
                    <td valign="top">
                        <div style="display: inline" id="appForm_tab0" class="tab">
                            <asp:HiddenField ID="hiddenMaintainID" runat="server" />
                            <asp:HiddenField ID="hiddenMaintainMan" runat="server" />
                            <asp:HiddenField ID="hiddenMaintainManName" runat="server" />                             
                            <table class="mnubar" cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr>
                                        <td style="padding-left: 5px" nowrap>
                                            <b>配件升级明细</b>
                                        </td>
                                        <td style="padding-left: 5px">
                                            <img src="../Content/Grid/separator.gif">
                                        </td>
                                        <td class="icMenu" nowrap>
                                        </td>
                                        <td class="icMenu mnuRight" nowrap>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <rad:RadGrid runat="server" ID="gridSubItems" Skin="OCM" AutoGenerateColumns="False"
                                AllowSorting="false" GridLines="None" EnableAJAX="true" EnableAJAXLoadingTemplate="True"
                                OnItemDataBound="gridSubItems_ItemDataBound">
                                <AJAXLoadingTemplate>
                                    <img src="../Images/loadding_orange.gif" />
                                    加载中...
                                </AJAXLoadingTemplate>
                                <MasterTableView DataKeyNames="AccessoryID">
                                    <Columns>
                                        <rad:GridTemplateColumn HeaderText="配件名称">
                                            <ItemTemplate>
                                                <asp:Label ID="AccessoryName" runat="server" Text='<%# Eval("AccessoryName") %>'>
                                                </asp:Label>
                                                <asp:Label ID="AccessoryID" runat="server" Text='<%# Eval("AccessoryID") %>' Visible="false">
                                                </asp:Label>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridTemplateColumn HeaderText="厂家配件编号">
                                            <ItemTemplate>
                                                <asp:Label ID="CompanyInstrumentCode" runat="server" Text='<%# Eval("CompanyInstrumentCode") %>'>
                                                </asp:Label>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridTemplateColumn HeaderText="单位">
                                            <ItemTemplate>
                                                <asp:Label ID="Unit" runat="server" Text='<%# Eval("Unit") %>'>
                                                </asp:Label>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridTemplateColumn HeaderText="库存">
                                            <ItemTemplate>
                                                <asp:Label ID="coStockquantity" runat="server" Text='<%# Eval("coStockquantity") %>'>
                                                </asp:Label>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridTemplateColumn HeaderText="处理人">
                                            <ItemTemplate>
                                                <asp:Label ID="performer" runat="server">
                                                </asp:Label>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridTemplateColumn HeaderText="个人库存">
                                            <ItemTemplate>
                                                <asp:Label ID="personalStockquantity" runat="server">
                                                </asp:Label>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridTemplateColumn HeaderText="本次使用">
                                            <ItemTemplate>
                                                <rad:RadNumericTextBox ID="usequantity" runat="server">
                                                    <NumberFormat AllowRounding="True" />
                                                </rad:RadNumericTextBox>
                                            </ItemTemplate>
                                        </rad:GridTemplateColumn>
                                        <rad:GridButtonColumn CommandName="delete" Text="删除">
                                        </rad:GridButtonColumn>
                                    </Columns>
                                </MasterTableView>
                            </rad:RadGrid>
                            <table class="mnubar" cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr>
                                        <td style="padding-left: 5px" nowrap>
                                            <b>软件升级</b>
                                        </td>
                                        <td style="padding-left: 5px">
                                            <img src="../Content/Grid/separator.gif">
                                        </td>
                                        <td class="icMenu" nowrap>
                                        </td>
                                        <td class="icMenu mnuRight" nowrap>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                            <table style="table-layout: fixed" id="Table1" cellspacing="0" cellpadding="3" width="800px">
                                <tr>
                                    <td align="right">
                                        软件版本
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="SoftwareVersion" runat="server"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>
